package org.millioncall.yueyoga.admin.dao;

import java.util.Map;

import org.millioncall.yueyoga.admin.model.UserDetail;

public interface UserDetailDAO {
	public UserDetail findUserDetailById(String id);

	public int updateUserDetail(Map<String, Object> map);

	public int saveUserDetail(Map<String, Object> map);
	/**
	 * 通过用户名获取用户信息
	 * @param map
	 * @return
	 */
	public UserDetail findUserDetailByName(Map<String, Object> map);
}
